#include "entity.h"


int _myDataSize()
{
	return sizeof(struct Data);
}

void _cpData(void* _dst, const void* _src)
{
	((struct Data*)_dst)->tmp =((struct Data*)_src)->tmp;
	memcpy(_dst, _src, sizeof(struct Data));
	return;
}

void* _getPointer(void* _p, int step)
{
	return (void*)(((struct Data*)_p)+step);
}

void _printInfo(void* info)
{
	struct Data* data = (struct Data*)info;
	printf("City:%s\tTmp:%d\n", data->city, data->tmp);
}
	
